package map_struct.bo;

import java.time.LocalDate;

/**
 * Description: 汽车的业务类
 *
 * @author code-worker
 * @date 2021/10/03 0:17
 */
public class CarBO {
    private Integer id;
    private String carName;
    private LocalDate createTime;
    private String color;
    private Double price;

    @Override
    public String toString() {
        return "CarBO{" +
                "id=" + id +
                ", carName='" + carName + '\'' +
                ", createTime=" + createTime +
                ", color='" + color + '\'' +
                ", price=" + price +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public LocalDate getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
